\hypertarget{classguild__service_1_1common_1_1service__tool}{}\doxysection{guild\+\_\+service\+::common\+::service\+\_\+tool Class Reference}
\label{classguild__service_1_1common_1_1service__tool}\index{guild\_service::common::service\_tool@{guild\_service::common::service\_tool}}


服务使用计数类  




{\ttfamily \#include $<$service\+\_\+tool.\+hpp$>$}

Inheritance diagram for guild\+\_\+service\+::common\+::service\+\_\+tool\+:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=0.777778cm]{classguild__service_1_1common_1_1service__tool}
\end{center}
\end{figure}
\doxysubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual bool \mbox{\hyperlink{classguild__service_1_1common_1_1service__tool_a2031e4504dfb311eec63267d6a835318}{start}} ()
\item 
virtual bool \mbox{\hyperlink{classguild__service_1_1common_1_1service__tool_a8e1bb0c64cf1d7b93ac0152dea7fd4b6}{stop}} ()
\item 
bool \mbox{\hyperlink{classguild__service_1_1common_1_1service__tool_a6c3dffd097f9dbf068cfd7f7b3f405f1}{started}} () const
\item 
int \mbox{\hyperlink{classguild__service_1_1common_1_1service__tool_a2428d690f9812ad121edd5d02650a6da}{get\+\_\+user\+\_\+count}} () const
\begin{DoxyCompactList}\small\item\em Get the user count object. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
服务使用计数类 

\doxysubsection{Member Function Documentation}
\mbox{\Hypertarget{classguild__service_1_1common_1_1service__tool_a2428d690f9812ad121edd5d02650a6da}\label{classguild__service_1_1common_1_1service__tool_a2428d690f9812ad121edd5d02650a6da}} 
\index{guild\_service::common::service\_tool@{guild\_service::common::service\_tool}!get\_user\_count@{get\_user\_count}}
\index{get\_user\_count@{get\_user\_count}!guild\_service::common::service\_tool@{guild\_service::common::service\_tool}}
\doxysubsubsection{\texorpdfstring{get\_user\_count()}{get\_user\_count()}}
{\footnotesize\ttfamily int guild\+\_\+service\+::common\+::service\+\_\+tool\+::get\+\_\+user\+\_\+count (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}



Get the user count object. 

\begin{DoxyReturn}{Returns}
int 
\end{DoxyReturn}
\mbox{\Hypertarget{classguild__service_1_1common_1_1service__tool_a2031e4504dfb311eec63267d6a835318}\label{classguild__service_1_1common_1_1service__tool_a2031e4504dfb311eec63267d6a835318}} 
\index{guild\_service::common::service\_tool@{guild\_service::common::service\_tool}!start@{start}}
\index{start@{start}!guild\_service::common::service\_tool@{guild\_service::common::service\_tool}}
\doxysubsubsection{\texorpdfstring{start()}{start()}}
{\footnotesize\ttfamily virtual bool guild\+\_\+service\+::common\+::service\+\_\+tool\+::start (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

\begin{DoxyReturn}{Returns}
true 

false 
\end{DoxyReturn}


Reimplemented in \mbox{\hyperlink{classguild__service_1_1common_1_1service__redis__client_a38a189add0de8db7b5397b1e02f5148a}{guild\+\_\+service\+::common\+::service\+\_\+redis\+\_\+client}}.

\mbox{\Hypertarget{classguild__service_1_1common_1_1service__tool_a6c3dffd097f9dbf068cfd7f7b3f405f1}\label{classguild__service_1_1common_1_1service__tool_a6c3dffd097f9dbf068cfd7f7b3f405f1}} 
\index{guild\_service::common::service\_tool@{guild\_service::common::service\_tool}!started@{started}}
\index{started@{started}!guild\_service::common::service\_tool@{guild\_service::common::service\_tool}}
\doxysubsubsection{\texorpdfstring{started()}{started()}}
{\footnotesize\ttfamily bool guild\+\_\+service\+::common\+::service\+\_\+tool\+::started (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}}

\begin{DoxyReturn}{Returns}
true 

false 
\end{DoxyReturn}
\mbox{\Hypertarget{classguild__service_1_1common_1_1service__tool_a8e1bb0c64cf1d7b93ac0152dea7fd4b6}\label{classguild__service_1_1common_1_1service__tool_a8e1bb0c64cf1d7b93ac0152dea7fd4b6}} 
\index{guild\_service::common::service\_tool@{guild\_service::common::service\_tool}!stop@{stop}}
\index{stop@{stop}!guild\_service::common::service\_tool@{guild\_service::common::service\_tool}}
\doxysubsubsection{\texorpdfstring{stop()}{stop()}}
{\footnotesize\ttfamily virtual bool guild\+\_\+service\+::common\+::service\+\_\+tool\+::stop (\begin{DoxyParamCaption}{ }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [virtual]}}

\begin{DoxyReturn}{Returns}
true 

false 
\end{DoxyReturn}


Reimplemented in \mbox{\hyperlink{classguild__service_1_1common_1_1service__redis__client_a9eb76fedbc43d575e35d2bd3b7b21cec}{guild\+\_\+service\+::common\+::service\+\_\+redis\+\_\+client}}.



The documentation for this class was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{service__tool_8hpp}{service\+\_\+tool.\+hpp}}\end{DoxyCompactItemize}
